package com.nail.api.customMake.service;

import com.nail.api.customMake.bean.PhoneModel;
import com.nail.service.IBaseService;
import com.nail.utils.PageResult;

import java.util.List;

/**
 * Created by jie on 2017/9/17.
 */
public interface IPhoneModelService extends IBaseService {

    public void addPhoneModel(PhoneModel phoneModel);


    public void updatePhoneModel(PhoneModel phoneModel);

    public void deletePhoneModel(Long id);

    public List<PhoneModel> getPhoneModels(PageResult pageResult);

    public void setSort(Long id,Integer sort);

    public void setIsAble(Long id,Integer isAble);

    public PhoneModel getPhoneModelById(Long id);
}
